object ScalaVarDemo02 {
  def main(args:Array[String]):Unit={
    var age=10
    age =19
    val sal=200
    val dog =new Dog()
    println(dog.age)
    println(dog.name)
  }

}

class Dog {
  var age: Int = _
  var name: String = "小花"
}